#include "mytest.h"
#include <QDebug>
MyTest::MyTest()
{
    qDebug() << "MyTest init";
}
MyTest::MyTest(int age)
{
    qDebug() << "MyTest age init";
    this->age = age;
}

MyTest::~MyTest(){
    qDebug() << "MyTest destory";
}

void MyTest::setAge(int newAge)
{
    age = newAge;
}

int MyTest::getAge() const
{
    return age;
}
